/* Higher than 1200 (desktop devices)
====================================================================== */
@media (min-width: 1200px) {
    .newsletter-body {
        width: 700px !important;
        clear: both;
    }

    #desktop_systeminfo {
        width: 40%;
        float: left;
    }

    #desktop_systeminfo > div {
        width: 32%;
        margin: 0px 5px 5px 0px;
        float: left;
    }

    #desktop_systeminfo > div:last-child {
        margin-right: 0px;
    }

    #salesreport_orders {
        float: left;
        width: 60%;
    }

    #visit_year_status,
    #visit_month_status,
    #inventory_report {
        width: 40%;
        float: left;
    }

    #visit_year,
    #salesreport_branch {
        float: left;
        width: 60%;
    }

    #visit_month {
        width: 57%;
    }
}

/* Higher than 960 (desktop devices)
====================================================================== */
@media only screen and (min-width: 980px) and (max-width: 1199px) {

}

@media (max-width: 1199px) {
    .hide1200 {
        display: none !important;
    }

    div.tdright {
        max-width: 630px !important;
    }

    #visit_year,
    #visit_year_status,
    #visit_month_status,
    #visit_month {
        width: 100%;
    }

    .newsletter-listemail {
        clear: both;
    }

    .commentName {
        width: 97%;
    }

    .reply-list,
    .replies,
    .commentInfo {
        width: 99%;
        clear: both;
        margin-left: 0px;
    }

    .reply-list:before,
    .reply-list:after,
    .commentInfo:before,
    .commentInfo:after,
    .commentName:before,
    .commentName:after {
        display: none;
    }

    .commentName+.slimScrollDiv {
        clear: both;
    }
}

@media only screen and (max-width: 1023px) {
    .hide1024 {
        display: none !important;
    }

    .image-wrap .image-small,
    .image-wrap .image {
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        position: relative;
        display: table-cell;
        margin-right: 7px;
        padding: 5px;
        width: 102px;
        height: 70px;
        border: 1px solid #dddddd;
        background-color: white;
        vertical-align: middle;
        vertical-align: middle;
        text-align: center;
        float: left;
        margin-bottom: 10px;
    }

    .image-wrap .image-small .no-image,
    .image-wrap .image .no-image {
        display: block;
        width: 100px;
        height: 68px;
        position: relative;
        border: 1px solid #ebebeb;
        background-color: #f9f9f9;
        color: #c8c8c8;
        cursor: pointer;
        display: table-cell;
        vertical-align: middle;
        vertical-align: middle;
        text-align: center;
    }

    .image-wrap .image .no-image i {
        display: inline-block;
        position: absolute;
        top: 14px;
        left: 28px;
        z-index: 1;
    }

    .image-wrap .image-small {
        width: 68px;
        height: 50px;
    }

    .image-wrap .image-small .no-image {
        width: 66px;
        height: 48px;
    }

    .image-wrap .image .no-image img {
        width: 100px !important;
        height: 68px !important;
        max-width: 100px !important;
        max-height: 68px !important;
    }

    .image-wrap .image-small .no-image img {
        width: 65px !important;
        height: 50px !important;
        max-width: 65px !important;
        max-height: 50px !important;
    }

    .image-list-ele {
        text-align: center;
        width: 72px;
        float: left;
        margin-right: 5px;
        padding: 5px;
    }

}

@media only screen and (max-width: 979px) {
    .hide980 {
        display: none !important;
    }

}

/* Tablet Portrait (devices and browsers)
====================================================================== */
@media only screen and (min-width: 768px) and (max-width: 979px) {
    .div_admincats {
        width:120px;
        margin:7px 5px;
    }

    .div_admincats img {
        width: 40px;
        height: 40px;
    }

    div.tdright {
        max-width: 380px !important;
    }

    #visit_year,
    #visit_year_status,
    #visit_month_status,
    #visit_month {
        width: 100%;
    }

}

/* All Mobile Sizes (devices and browser)
====================================================================== */
@media only screen and (max-width: 767px) {
    .hide768 {
        display: none !important;
    }

    #sidebar.navbar-collapse.in {
        width: 180px;
        -webkit-transform: translate(0px, 0px);
    }

    #sidebar.navbar-collapse.in+#main-content {
        -webkit-transform: translate(180px, 0px);
    }
    .sidebar-collapsed.in {
        width: 0px;
    }

    #sidebar.navbar-collapse {
        width: 0px;
        -webkit-transform: translate(-180px, 0px);
    }

    .sidebar-collapsed .nav-list>li>ul.submenu {
        position: static;
        width: 180px;
        box-shadow: 2px 0 6px rgba(50,50,50,0.2);
        padding-top: 0px;
    }

    .sidebar-collapsed .nav-list>li>a>span {
        display: block;
    }

    .sidebar-collapsed .nav-list>li .submenu>li>ul>li:before {
        width: 180px;
        left: 27px
    }

    .sidebar-collapsed .nav-list>li>ul.submenu>li:before,
    .sidebar-collapsed .nav-list>li>ul.submenu>li:after {
        display: block;
    }

    .sidebar-collapsed .nav-list>li>ul.submenu li>a,
    .sidebar-collapsed .nav-list>li>ul.submenu li>span {
        padding-left: 42px;
    }

    #sidebar-collapse {
        display: none;
    }

    .commentName {
        width: 95%;
    }

    .reply-list,
    .replies,
    .commentInfo {
        width: 98%;
    }

}

/* All Mobile Sizes (devices and browser)
====================================================================== */
@media only screen and (max-width: 639px) {
    .hide640 {
        display: none !important;
    }

    .div.tagsinput {
        width: 320px !important;
    }

    .search-div {
        margin-right: 10px;
    }

    .search-div .input-search {
        color: #333 !important;
        background: #fff !important;
    }
}

@media(min-width:1200px) {
    .show1200 {
        display: none !important;
    }
}

@media(min-width:1024px) {
    .show1024 {
        display: none !important;
    }
}

@media(min-width:980px) {
    .show980 {
        display: none !important;
    }
}

@media(min-width:768px) {
    .show768 {
        display: none !important;
    }
}

@media(min-width:640px) {
    .show640 {
        display: none !important;
    }
}

@media(min-width:480px) {
    .show480 {
        display: none !important;
    }

    .dumper iframe {
        height: 450px;
    }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers)
====================================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.div_admincats {
        width:105px;
        margin:7px 5px;
    }

    .div_admincats img {
        width: 40px;
        height: 40px;
    }

    div.tdright {
        max-width: 450px !important;
    }

    .notiLoading,
    .commandDiv {
        left: 30%;
    }

    .tar_lng {
        width: 340px !important;
    }

    #visit_year,
    #visit_year_status,
    #visit_month_status,
    #visit_month {
        width: 100%;
    }

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers)
====================================================================== */
@media only screen and (min-width: 480px) and (max-width: 639px) {
    div.tdleft {
        width: 100px;
    }

    div.tdright {
        max-width: 350px !important;
    }

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers)
=================================================================== */
@media only screen and (max-width: 479px) {
    .hide480 {
        display: none !important;
    }

    .div_admincats {
        width:84px;
        margin:7px 5px;
    }

    .div_admincats span.name {
        padding: 6px;
    }

    .div_admincats img {
        width: 32px;
        height: 32px;
    }

    div.tdleft {
        width: 100%;
        text-align: left;
    }

    div.tdright {
        max-width: 290px !important;
    }

    div.clr320 {
        clear: both;
        text-align: left !important;
        width: 93%;
    }

    div.tdleft input[type="text"],
    div.tdright input[type="text"] {
        width: 98% !important;
    }

    .btnFrm {
        margin-right: 10px;
    }

    div.tdright textarea {
        width: 100% !important;
    }

    .notiLoading,
    .commandDiv {
        left: 50px;
    }

    #visit_year,
    #visit_year_status,
    #visit_month_status,
    #visit_month {
        width: 100%;
    }

    .newsletter-body {
        width: 300px !important;
        clear: both;
    }

    .commentName {
        width: 93%;
    }

    .reply-list,
    .replies,
    .commentInfo {
        width: 97%;
    }

    .dumper iframe {
        height: 700px;
    }

    .zTree {
        width: 100%;
    }

}

@media only screen and (max-height: 320px) and (orientation:landscape) {
    .tar_lng {
        height: 65px;
    }
}


@media only screen and (max-height: 300px) and (orientation:landscape) {
    .tar_lng {
        height: 32px;
    }
}

@media(min-width:980px) and (max-width:1199px) {
    .tile .img>[class*="fa fa-"] {
        font-size: 50px
    }
}

@media(max-width:1199px) {
    #nav-horizontal>li>a>i[class*="fa fa-"]:not(.fa-angle-double-left) {
        display: none !important
    }

    #nav-horizontal>li>a {
        padding-left: 5px !important;
        padding-right: 5px !important
    }

    #desktop_systeminfo {
        width: 100%;
        margin: 0px auto;
    }

    #desktop_systeminfo > div {
        width: 16%;
        margin: 0px 5px 5px 0px;
        float: left;
    }

    #desktop_systeminfo > div:last-child {
        margin-right: 0px;
    }

    #visit_year,
    #visit_year_status,
    #visit_month,
    #visit_month_status,
    #salesreport_branch,
    #inventory_report,
    #salesreport_orders {
        width: 100%;
        clear: both;
    }
}

@media(max-width:979px) {

    .navbar-toggle.for-nav-horizontal {
        display: inline-block
    }

    .navbar {
        padding-right: 0
    }

    #nav-horizontal {
        width: 100%;
        padding: 9px;
        position: absolute;
        top: 40px
    }

    #nav-horizontal.collapse {
        display: none !important
    }

    #nav-horizontal a {
        font-size: 13px
    }

    #nav-horizontal.navbar-collapse {
        max-height: 10000%
    }

    #nav-horizontal>li {
        margin-bottom: 1px;
        vertical-align: baseline
    }

    #nav-horizontal>li [class*="fa fa-"] {
        font-size: 18px
    }

    #nav-horizontal>li>a>i[class*="fa fa-"] {
        display: inline-block !important;
        width: 30px
    }

    #nav-horizontal>li.active>a>span {
        font-weight: bold
    }

    #nav-horizontal>li>a {
        padding-top: 0;
        line-height: 36px
    }

    #nav-horizontal ul,#nav-horizontal li {
        width: 100%
    }

    #nav-horizontal .dropdown-menu {
        max-width: 100%;
        position: static;
        top: auto;
        left: auto;
        right: auto;
        float: none;
        box-shadow: none !important;
        margin-top: 0
    }

    #nav-horizontal .dropdown-menu>li {
        padding-left: 0;
        padding-right: 0;
        display: block;
        position: relative
    }

    #nav-horizontal .dropdown-menu>li:last-child {
        overflow: hidden
    }

    #nav-horizontal .dropdown-menu li a {
        padding: 7px 0 8px 42px;
        line-height: 18px
    }

    #nav-horizontal>li>.dropdown-menu .dropdown-menu li a {
        padding-left: 60px;
        font-size: 12px
    }

    #nav-horizontal .dropdown-menu li a>[class*="fa fa-"] {
        display: none
    }

    #nav-horizontal>li>.dropdown-menu>li>ul {
        position: static;
        display: block
    }

    #nav-horizontal .dropdown-menu>li:before {
        content: "";
        display: block;
        position: absolute;
        width: 9px;
        left: 25px;
        top: 17px;
        border-top: 1px dashed rgba(255,255,255,0.5)
    }

    #nav-horizontal>li>.dropdown-menu>li>ul>li:before {
        width: 22px
    }

    #nav-horizontal>li>.dropdown-menu>li:after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 22px;
        width: 0;
        border-left: 1px dashed rgba(255,255,255,0.5)
    }

    #nav-horizontal>li>a>b[class*="fa fa-"] {
        float: right;
        line-height: 33px
    }

    #desktop_systeminfo {
        width: 100%;
        margin: 0px auto;
    }

    #desktop_systeminfo > div {
        width: 192px;
        margin: 0px 5px 5px 0px;
        float: left;
    }

    #visit_year,
    #visit_year_status,
    #visit_month,
    #visit_month_status,
    #salesreport_branch,
    #inventory_report,
    #salesreport_orders {
        width: 100%;
        clear: both;
    }
}

@media(max-width:767px) {
    body {
        padding-right: 0;
        padding-left: 0
    }

    .bootstrap-duallistbox-container .box2 {
        margin-top: 20px
    }

    .hiti-nav>li[class*="hidden-"] {
        display: none !important
    }

    .navbar-collapse .nav>li>a {
        font-weight: normal;
        margin-bottom: 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0
    }

    .nav-list>li.active>a:after {
        display: none
    }

    #sidebar {
        width: 100%;
        z-index: 989
    }

    #sidebar:before {
        display: none
    }

    .user-profile img {
        margin-right: 0 !important
    }

    #main-content {
        margin-left: 0 !important
    }

    label {
        font-weight: bold;
        padding-bottom: 5px
    }

    label.checkbox,label.checkbox-inline,label.radio,label.radio-inline {
        font-weight: normal;
        white-space: nowrap
    }

    .list-inline>li,.breadcrumb>li,.messages>li>div .time,label,.form-wizard .step .desc,.box-title>.nav-tabs>li,#form-login .goto-register,.mail-msg-header .msg-sender-recver,.mail-msg-header .msg-options,.error-wrapper>p>a,.tl-date-small>span,.dataTables_paginate .pagination>li {
        white-space: nowrap
    }

    .daterangepicker {
        width: 418px
    }

    .daterangepicker.opensright .ranges,.daterangepicker.opensright .calendar {
        float: left
    }

    #desktop_systeminfo {
        width: 100%;
        margin: 0px auto;
    }

    #desktop_systeminfo > div {
        width: 205px;
        margin: 0px 5px 5px 0px;
        float: left;
    }

    #visit_year,
    #visit_year_status,
    #visit_month,
    #visit_month_status,
    #salesreport_branch,
    #inventory_report,
    #salesreport_orders {
        width: 100%;
        clear: both;
    }
}

@media(max-width:639px) {
    #desktop_systeminfo {
        width: 480px;
        margin: 0px auto;
    }

    #desktop_systeminfo > div {
        width: 155px;
        margin: 0px 5px 5px 0px;
        float: left;
    }

    #visit_year,
    #visit_year_status,
    #visit_month,
    #visit_month_status,
    #salesreport_branch,
    #inventory_report,
    #salesreport_orders {
        width: 100%;
        clear: both;
    }
}

@media(max-width:479px) {
    .btn-toolbar-gallery .btn-group {
        margin-left: 0;
        margin-top: 15px
    }

    .navbar .navbar-btn:focus,.navbar .navbar-btn {
        margin-left: 0;
    }

    #user_info {
        display: none !important
    }

    .navbar .navbar-brand {
        overflow: hidden;
        padding-left: 10px;
        padding-right: 5px;
        font-size: 17px
    }

    .page-title>div h1 {
        font-size: 20px
    }

    .page-title>div h1>i {
        width: 25px
    }

    .page-title>div h4 {
        font-size: 13px;
        margin-left: 32px
    }

    .box-title h3 {
        font-size: 18px
    }

    .error-page .error-wrapper {
        width: 320px;
        padding: 10px
    }

    .error-page h4 {
        font-size: 24px
    }

    .error-page h4>span {
        font-size: 50px;
        margin-top: -20px
    }

    .error-page h5 {
        font-size: 20px
    }

    .error-page h5>span {
        font-size: 50px
    }

    .fc-header .fc-header-right {
        padding-top: 40px;
        float: left;
        margin-left: -153px
    }

    .daterangepicker {
        width: 210px
    }

    .mail-nav {
        width: 30px
    }

    .mail-content {
        margin-left: 40px
    }

    #desktop_systeminfo {
        width: 100%;
        margin: 0px auto;
    }

    #desktop_systeminfo > div {
        width: 48%;
        margin: 0px 5px 5px 0px;
        float: left;
    }

    #visit_year,
    #visit_year_status,
    #visit_month,
    #visit_month_status,
    #salesreport_branch,
    #inventory_report,
    #salesreport_orders {
        width: 100%;
        clear: both;
    }
}

.container {
    min-width: 100%
}